import Axios from '@/utils/axios'

// 获取轮播图
export function getBannerAPI() {
    return Axios({
        url: '/home/banner'
    })
}

/**
 * @description: 获取新鲜好物
 * @param {*}
 * @return {*}
 */
export const findNewAPI = () => {
    return Axios({
        url: '/home/new'
    })
}

/**
* @description: 获取人气推荐
* @param {*}
* @return {*}
*/
export const getHotAPI = () => {
    return Axios({
        url: '/home/hot'
    })
}